# -*- coding: utf-8 -*-
from django.db import models
import locale

locale.setlocale(locale.LC_ALL,"")

# Create your models here.

class Tag(models.Model):
	name = models.CharField(max_length=20,primary_key=True)
	                        
	  
	def __unicode__(self):
		return self.name

class Page(models.Model):
	name = models.CharField(max_length=20,primary_key=True)
	content = models.TextField(blank=True)
	tags = models.ManyToManyField(Tag)
	
	def __unicode__(self):
		return self.name
	                             
	